Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: TDD, JUnit and Domino Designer
Feedback Type: Problem
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Application Development
Platform: Windows
Release: 8.5.2
Reproducible: Always

I have been looking to use some of the new features in eclipse one of which is using JUnit to test my Java code.

I followed this video series http://vimeo.com/10569751 which used a standalone Java project. This all worked as shown.

When I try to use a Notes Database though I get errors.

All this is in the Java perspective. I have created a Java package under the WebContent/WEB-INF/src.

When I run JUnit i get the following error in the Console pane:
Class not found javaMethods.JunitTest
java.lang.ClassNotFoundException: javaMethods.JunitTest
at java.net.URLClassLoader.findClass(URLClassLoader.java:421)
at java.lang.ClassLoader.loadClass(ClassLoader.java:652)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
at java.lang.ClassLoader.loadClass(ClassLoader.java:618)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:425)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)


javaMethods.JunitTest is the class I have created, and I am running Junit from this class

Thanks

Nick


Feedback number WEBB8C6NSB created by ~Tony Umnusononi on 12/15/2010

Status: Open
Comments:

TDD, JUnit and Domino Designer (~Tony Umnusonon... 15.Dec.10)
. . Run in Java project (~Vera Opfreeche... 5.Feb.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS